package com.sdry.mapper.zc;

import java.util.List;

import com.sdry.model.zc.ZcInspectionSheetEntity;
import com.sdry.model.zc.ZcProductTestEntity;
import com.sdry.model.zc.ZcProductTestValueEntity;
import com.sdry.model.zc.ZcQueryCriteria;

/**
 * 
 * @ClassName:    ZcInspectionSheetMapper   
 * @Description:  产品检验
 * @Author:       zc   
 * @CreateDate:   2019年1月4日 上午10:46:24   
 * @Version:      v1.0
 */
public interface ZcInspectionSheetMapper {

	/**
	 * 查询产品检验的列表
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcInspectionSheetEntity> selectInspectionSheetList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查询产品检验的列表数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countInspectionSheetList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 通过排产单查询该排产单下所有的检验结果
	 * @param remark02
	 * @return
	 */
	public List<ZcProductTestEntity> selectRemark03Byremark02(String remark02);
	/**
	 * 通过排产单号和检测结果类型查询产品检验数据
	 * @param zcQueryCriteria
	 * @return
	 */
	public ZcProductTestValueEntity selectProductTestValue(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 保存产品检验单信息
	 * @param zcInspectionSheetEntity
	 * @return
	 */
	public int insertInspectionSheet(ZcInspectionSheetEntity zcInspectionSheetEntity);
	/**
	 * 保存产品检验单详情
	 * @param zcInspectionSheetEntity
	 * @return
	 */
	public int insertInspectionSheetDetails(ZcInspectionSheetEntity zcInspectionSheetEntity);
	/**
	 * 查询产品检验单详情
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcInspectionSheetEntity> selectInspectionSheetDetailsListByNumber(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查询产品检验单详情数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countInspectionSheetDetailsListByNumber(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 批量删除
	 * @param id
	 * @return
	 */
	public int delInspectionSheetArr(String isNumber);
}
